package com.kkb.service;

import com.kkb.mapper.DepartmentMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DepartmentService {
    @Resource
    DepartmentMapper departmentMapper;

    public List queryAll(){
        return departmentMapper.selectByExample(null);
    }
}
